package com.example.lvsuo.service;

import com.example.lvsuo.entity.SystemRole;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.lvsuo.entity.vo.SystemRoleVo;

import java.util.List;

import java.util.ArrayList;

/**
 * <p>
 * 系统角色表，给用户分配的角色 服务类
 * </p>
 *
 * @author 心心念念
 * @since 2021-03-30
 */
public interface ISystemRoleService extends IService<SystemRole> {


    void lists(ArrayList<ArrayList<Object>> list);

    List<SystemRole> getSystemRole(SystemRole systemRole);

    void insertRoleOrAuthority(SystemRoleVo sys);

    SystemRoleVo getSystemRoleId(String id);

    void updateRoleOrAuthority(SystemRoleVo systemRoleVo);

    void deleteRoleOrAuthority(String id);

    List<SystemRole> getSystemRua();

    List<SystemRole> queryRole();
}
